package org.dromara.project.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.project.domain.ContractInfo;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 合同管理视图对象 contract_info
 *
 * @author Lion Li
 * @date 2025-06-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ContractInfo.class)
public class ContractInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 合同编号
     */
    @ExcelProperty(value = "合同编号")
    private String contractNumber;

    /**
     * 合同名称
     */
    @ExcelProperty(value = "合同名称")
    private String contractName;

    /**
     * 归属项目ID
     */
    @ExcelProperty(value = "归属项目ID")
    private Long projectId;

    /**
     * 归属项目名称
     */
    @ExcelProperty(value = "归属项目名称")
    private String projectName;

    /**
     * 签署状态
     */
    @ExcelProperty(value = "签署状态")
    private String signingStatus;

    /**
     * 签订日期
     */
    @ExcelProperty(value = "签订日期")
    private Date signingDate;

    /**
     * 合同性质
     */
    @ExcelProperty(value = "合同性质")
    private String contractNature;

    /**
     * 买方联系人
     */
    @ExcelProperty(value = "买方联系人")
    private String buyerContact;
    /**
     * 买方单位
     */
    @ExcelProperty(value = "买方单位")
    private String buyerCompany;
    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String contactPhone;

    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String email;

    /**
     * 合同草案存储地址
     */
    @ExcelProperty(value = "合同草案存储地址")
    private String contractDraft;

    /**
     * 合同附件存储地址
     */
    @ExcelProperty(value = "合同附件存储地址")
    private String contractAttachment;

    /**
     * 交货时间
     */
    @ExcelProperty(value = "交货时间")
    private Date deliveryTime;

    /**
     * 交货地点
     */
    @ExcelProperty(value = "交货地点")
    private String deliveryLocation;

    /**
     * 交货条件
     */
    @ExcelProperty(value = "交货条件")
    private String deliveryTerms;

    /**
     * 保质期至
     */
    @ExcelProperty(value = "保质期至")
    private Date warrantyExpiry;

    /**
     * 合同状态
     */
    @ExcelProperty(value = "合同状态")
    private String contractStatus;

    /**
     * 审批人ID
     */
    @ExcelProperty(value = "审批人ID")
    private Long approverId;

    /**
     * 审批人姓名
     */
    @ExcelProperty(value = "审批人姓名")
    private String approverName;

    /**
     * 拒绝原因
     */
    @ExcelProperty(value = "拒绝原因")
    private String rejectionReason;

    /**
     * 审批时间
     */
    @ExcelProperty(value = "审批时间")
    private Date approvalTime;


}
